﻿<!--
//********************************************************************************//
//创建日期：<创建日期，2016-04-19>
//创建作者：<郭登杰，guodengjie@shanghai3h.com>
//功能说明：打印账单  地表水
//********************************************************************************//
    -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../../../../css/main.css" rel="stylesheet" />
    <link href="../../../../JS/layui/css/layui.css" rel="stylesheet" />
    <script src="../../../../JS/layui/layui.js"></script>
    <script src="../../../../JS/AddEditCancel.js"></script>
    <script defer src="../../../../PageJS/common.js"></script>
    <script src="../../../../PageJS/common.verify.js"></script>
    <script defer src="../../../../JS/jquery-1.11.1.min.js"></script>
    <script defer src="../../../../PageJS/wap.js"></script>
    <script defer src="../../../../PageJS/QSSF/DaYinZDDBS.js"></script>
</head>
<body>
    <form class="layui-form">
        <div id="divContent" style="width:98%;margin:auto">
            <div class="tabletitle1" align="center" style="height:23px">
                打印缴款书
            </div>
            <div class="layui-tab layui-tab-brief">
                <ul class="layui-tab-title">
                    <li class="layui-this" style="font-size:14px">打印</li>
                    <li style="font-size:14px">已打管理</li>
                    <li style="font-size:14px">打印统计</li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label" style="width:60px">水量年月:</label>
                                <div class="layui-input-inline" style="width: 70px;">
                                    <input id="cYM" autocomplete="off" class="layui-input" onkeydown="return onlyNum();">
                                </div>
                                <div class="layui-input-inline" style="width:130px">
                                    <input type="checkbox" id="cPrinted1" name="cPrinted" lay-skin="primary" lay-filter="cPrinted" title="已打" value="1" checked>
                                    <input type="checkbox" id="cPrinted0" name="cPrinted" lay-skin="primary" lay-filter="cPrinted" title="未打" value="0" checked>
                                </div>
                                <div class="layui-input-inline">
                                    <button id="oSearch" class="layui-btn layui-btn-primary" type="button">查询</button>
                                </div>
                                <!--<label class="layui-form-label">按用户号</label>
                        <div class="layui-input-inline" style="width: 90px;">
                            <input id="cYHH" autocomplete="off" class="layui-input" onkeydown="return onlyNum();">
                        </div
                        <div class="layui-input-inline">
                            <button id="oGoTo" class="layui-btn layui-btn-primary" type="button">定位</button>
                        </div>>-->
                            </div>
                            <div class="layui-inline" style="float:right">
                                <div class="layui-input-inline">
                                    <label class="layui-form-label" style="width:120px">发票号码手动输入:</label>
                                    <input type="checkbox" id="oBillInputSwitch" lay-filter="oBillInputSwitch" lay-skin="switch" lay-text="开启|关闭">
                                </div>
                                <label class="layui-form-label" style="width:60px">打印日期:</label>
                                <div class="layui-input-inline" style="width:90px">
                                    <input id="printdate" class="layui-input" onclick="layui.laydate({ elem: this, festival: true })" />
                                </div>
                                <div class="layui-input-inline" style="width:160px">
                                    <button id="oPrint" class="layui-btn layui-btn-primary" type="button">打印</button>
                                    <button id="oView" class="layui-btn layui-btn-primary" type="button">预览</button>
                                </div>
                            </div>
                        </div>
                        <div style="overflow: auto;width:100%; height: 470px; border: 1px solid #e2e2e2;vertical-align:top ">
                            <table id="ContentList1" name="ContentList" class="layui-table" style="width:1600px">
                                <thead>
                                    <tr>
                                        <th style="width:20px;text-align:center">
                                            <input type="checkbox" id="oSelectAll" lay-filter="selectAll" lay-skin="primary">
                                        </th>
                                        <th style="width:60px;text-align:center">费用编号</th>
                                        <th style="width: 60px; text-align: center">用户号</th>
                                        <th style="width: 300px; text-align: center">用户名</th>
                                        <th style="width: 100px; text-align: center">金额</th>
                                        <th style="width: 40px; text-align: center">水价</th>
                                        <th style="width: 80px; text-align: center">水量</th>
                                        <th style="width: 100px; text-align: center">发票号码</th>
                                        <th style="width: 250px; text-align: center">条形码</th>
                                        <th style="width: 80px; text-align: center">限缴日期</th>
                                        <th style="text-align: center">单位</th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                        <div style="font-size:20px">
                            <span>&nbsp;&nbsp;当前发票号码:<label id="lsBillNo" style="color:green"></label></span>
                            &nbsp;&nbsp;
                            <span>当前列表 已打印: <label id="lsHasPrinted" style="color:green">0</label> 条 未打印: <label id="lsHasntPrinted" style="color:green">0</label> 条</span>
                            <span style="float:right">共有 <label id="lsCount">0</label> 条记录,选中条数: <label id="lsSelectedCount" style="color:green">0</label>&nbsp;&nbsp;&nbsp;&nbsp;</span>
                        </div>
                        <table id="ItemStr1" style="display: none">
                            <tr class="datarow" style="cursor:pointer" vid="objZhangDanBH" vid2="objDaYinZT">
                                <td style="text-align:center">
                                    <input type="checkbox" name="liCheck" vid="objZhangDanBH" vid2="objDaYinZT" disabled lay-skin="primary" lay-filter="liCheck">
                                </td>
                                <td style="text-align:center">objZhangDanBH</td>
                                <td style="text-align:center" name="yhh">objYongHuH</td>
                                <td>objYongHuM</td>
                                <td style="text-align:right">objJinE</td>
                                <td style="text-align:right">objShuiJia</td>
                                <td style="text-align:right">objShuiLiang</td>
                                <td style="text-align:center">
                                    objFaPiaoHM
                                    <input name="liFaPiaoHM" autocomplete="off" class="layui-input" style="display:none;" onkeydown="return onlyNum();">
                                </td>
                                <td style="text-align:center">objTiaoXingM</td>
                                <td style="text-align:center">objXianJiaoRQ</td>
                                <td style="text-align:center">objDanWei</td>
                            </tr>
                        </table>
                    </div>
                    <div class="layui-tab-item">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <div class="layui-input-inline" style="width:70px">
                                    <button id="o2Operate" class="layui-btn layui-btn-primary" type="button">变更</button>
                                </div>
                                <label class="layui-form-label" style="width:60px">水量年月:</label>
                                <div class="layui-input-inline" style="width: 70px;">
                                    <input id="c2YM" autocomplete="off" class="layui-input" onkeydown="return onlyNum();">
                                </div>
                                <label class="layui-form-label" style="width:100px">发票号/费用号:</label>
                                <div class="layui-input-inline" style="width: 70px;">
                                    <input id="c2HM" autocomplete="off" class="layui-input" onkeydown="return onlyNum();">
                                </div>
                                <label class="layui-form-label" style="width:60px">打印日期:</label>
                                <div class="layui-input-inline" style="width:90px">
                                    <input id="c2PrintDate" class="layui-input" onclick="layui.laydate({ elem: this, festival: true, istime: true, format: 'YYYY-MM-DD' })" />
                                </div>
                                <div class="layui-input-inline" style="width:130px">
                                    <input type="checkbox" id="c2Printed1" name="c2Printed" lay-skin="primary" lay-filter="cPrinted" title="成功" value="1" checked>
                                    <input type="checkbox" id="c2Printed0" name="c2Printed" lay-skin="primary" lay-filter="cPrinted" title="打坏" value="2" checked>
                                </div>
                                <div class="layui-input-inline" style="width:150px">
                                    <button id="o2Search" class="layui-btn layui-btn-primary" type="button">查询</button>
                                    <button id="o2Clear" class="layui-btn layui-btn-primary" type="button">清空</button>
                                </div>
                            </div>
                        </div>
                        <div style="overflow: auto;width:100%; height: 470px; border: 1px solid #e2e2e2;vertical-align:top ">
                            <table id="ContentList2" name="ContentList2" class="layui-table" style="width:1600px">
                                <thead>
                                    <tr>
                                        <th style="width:20px;text-align:center">
                                            <input type="checkbox" id="o2SelectAll" lay-filter="selectAll2" lay-skin="primary">
                                        </th>
                                        <th style="width: 80px; text-align: center">发票号码</th>
                                        <th style="width:60px;text-align: center">打印状态</th>
                                        <th style="width: 80px; text-align: center">打印日期</th>
                                        <th style="width:60px;text-align:center">费用编号</th>
                                        <th style="width:60px;text-align:center">水量年月</th>
                                        <th style="width: 60px; text-align: center">用户号</th>
                                        <th style="width: 300px; text-align: center">用户名</th>
                                        <th style="width: 100px; text-align: center">金额</th>
                                        <th style="width: 40px; text-align: center">水价</th>
                                        <th style="width: 80px; text-align: center">水量</th>
                                        <td></td>
                                    </tr>
                                </thead>
                            </table>
                            <table id="ItemStr2" style="display: none">
                                <tr class="datarow" style="cursor:pointer" vid="objFaPiaoHM">
                                    <td style="text-align:center">
                                        <input type="checkbox" name="liCheck" vid="objFaPiaoHM" vid2="objZhangDanBH" disabled lay-skin="primary" lay-filter="liCheck">
                                    </td>
                                    <td style="text-align:center">objFaPiaoHM</td>
                                    <td style="text-align:center">objDaYinZT</td>
                                    <td style="text-align:center">objDaYinRQ</td>
                                    <td style="text-align:center">objZhangDanBH</td>
                                    <td style="text-align:center">objYM</td>
                                    <td style="text-align:center" name="yhh">objYongHuH</td>
                                    <td>objYongHuM</td>
                                    <td style="text-align:right">objJinE</td>
                                    <td style="text-align:right">objShuiJia</td>
                                    <td style="text-align:right">objShuiLiang</td>
                                    <td></td>
                                </tr>
                            </table>
                        </div>
                        <div style="font-size:20px">
                            <span>&nbsp;&nbsp;记录条数: <label id="ls2Count" style="color:green">0</label> </span>
                            &nbsp;&nbsp;
                        </div>
                    </div>
                    <div class="layui-tab-item">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label" style="width:60px">打印日期:</label>
                                <div class="layui-input-inline" style="width:90px">
                                    <input id="c3PrintDate" class="layui-input" onclick="layui.laydate({ elem: this, festival: true,istime:true,format:'YYYY-MM-DD' })" />
                                </div>
                                <div class="layui-input-inline" style="width:150px">
                                    <button id="o3Search" class="layui-btn layui-btn-primary" type="button">查询</button>
                                    <button id="o3Clear" class="layui-btn layui-btn-primary" type="button">清空</button>
                                </div>
                            </div>
                        </div>
                        <div style="overflow: auto;width:100%; height: 470px; border: 1px solid #e2e2e2;vertical-align:top ">
                            <table id="ContentList3" name="ContentList3" class="layui-table" style="width:100%">
                                <thead>
                                    <tr>
                                        <th style="width: 100px; text-align: center">发票起始号码</th>
                                        <th style="width:100px;text-align: center">发票结束号码</th>
                                        <th style="width:80px;text-align: center">数量</th>
                                        <th style="width: 100px; text-align: center">打印日期</th>
                                        <td></td>
                                    </tr>
                                </thead>
                            </table>
                            <table id="ItemStr3" style="display: none">
                                <tr class="datarow" style="cursor:pointer" vid="objDaYinRQ">
                                    <td style="text-align:center">objQISHIFPHM</td>
                                    <td style="text-align:center">objJIESHUFPHM</td>
                                    <td style="text-align:center">objSL</td>
                                    <td style="text-align:center">objDaYinRQ</td>
                                    <td></td>
                                </tr>
                            </table>
                        </div>
                        <div style="font-size:20px">
                            <span>&nbsp;&nbsp;记录条数: <label id="ls3Count" style="color:green">0</label> </span>
                            &nbsp;&nbsp;
                        </div>
                    </div>
                </div>
            </div>    
        </div>
    </form>
</body>
</html>


<!--<div style="float:left;width:20%;min-width:240px">
               <fieldset class="layui-elem-field">
                   <legend style="font-size:14px">选中打印</legend>
                   <div class="layui-field-box">
                       <div>
                           <div class="layui-input-inline" style="width:20px">
                               <input type="radio" name="cSelect" title=" " value="2">
                           </div>
                           <div class="layui-input-inline" style="width:20px">
                               从
                           </div>
                           <div class="layui-input-inline" style="width:75px">
                               <input id="cSelect2con1" autocomplete="off" class="layui-input" onkeydown="return onlyNum();">
                           </div>
                           <div class="layui-input-inline" style="width:20px">
                               选
                           </div>
                           <div class="layui-input-inline" style="width:35px">
                               <input id="cSelect2con2" autocomplete="off" class="layui-input" onkeydown="return onlyNum();">
                           </div>
                           张
                       </div>
                       <div style="height:3px"></div>
                       <div>
                           <div class="layui-input-inline" style="width:20px">
                               <input type="radio" name="cSelect" title=" " value="1" checked>
                           </div>
                           <div class="layui-input-inline" style="width:20px">
                               选
                           </div>
                           <div class="layui-input-inline" style="width:100px">
                               <input id="cSelect1con1" autocomplete="off" class="layui-input" onkeydown="return onlyNum();">
                           </div>
                           到最后
                       </div>
                       <div style="height:3px"></div>
                       <div>
                           <div class="layui-input-inline">
                               <button id="oConditionSelect" class="layui-btn layui-btn-primary" type="button">条件选中</button>
                           </div>
                       </div>
                   </div>
               </fieldset>
               <div class="layui-form-item">
                   <div class="layui-inline">

                   </div>
                   <div class="layui-inline">
                       <label class="layui-form-label" style="width:60px">限缴日期:</label>
                       <div class="layui-input-inline" style="width:90px">
                           <input id="returndate" class="layui-input" onclick="layui.laydate({ elem: this, festival: true })" />
                       </div>
                   </div>
               </div>


           </div>-->
<!--<div style="float:left;width:79%">-->
<!--</div>-->